/*
 * VisualSegment.h
 *
 *  Created on: Apr 28, 2009
 *      Author: wrice
 */

#ifndef VISUALSEGMENT_H_
#define VISUALSEGMENT_H_
#include "DOMView.h"
namespace DOMView {

class VisualSegment: EXTENDS_INTERFACE( VisualResource ) {
public:
//    attribute boolean         matchPosition;
//    attribute boolean         matchInside;
//    attribute boolean         matchContaining;
//    attribute long            matchX;
//    attribute long            matchY;
//    attribute long            matchXR;
//    attribute long            matchYR;
//    attribute boolean         matchContent;
//    attribute boolean         matchRange;
//    attribute Node            matchNode;
//    attribute unsigned long   matchOffset;
//    attribute Node            matchNodeR;
//    attribute unsigned long   matchOffsetR;
//    attribute boolean         matchContainsSelected;
//    attribute boolean         matchContainsVisible;

	virtual bool getExists() = 0;
	virtual Node * getStartNode() = 0;
	virtual unsigned long getStartOffset() = 0;
	virtual Node * getEndNode() = 0;
	virtual unsigned long getEndOffset() = 0;
	virtual long getTopOffset() = 0;
	virtual long getBottomOffset() = 0;
	virtual long getLeftOffset() = 0;
	virtual long getRightOffset() = 0;
	virtual unsigned long getWidth() = 0;
	virtual unsigned long getHeight() = 0;
	virtual bool getSelected() = 0;
	virtual bool getVisible() = 0;
	virtual unsigned long getForegroundColor() = 0;
	virtual unsigned long getBackgroundColor() = 0;
	virtual DOMString getFontName() = 0;
	virtual DOMString getFontHeight() = 0;
	virtual bool getNext() = 0;
};
}

#endif /* VISUALSEGMENT_H_ */
